#ifndef MOVINGPATHANIMATOR_H
#define MOVINGPATHANIMATOR_H

#include "Animator.h"
#include "Sprite.h"
#include "MovingPathAnimation.h"

class MovingPathAnimator : public Animator {
	Sprite* sprite;
	MovingPathAnimation* anim;
	frame_t currFrame;
	std::list<PathEntry>::iterator currEntry;

	public:
	void Progress(timestamp_t currTime);
	void Start(Sprite* s, MovingPathAnimation* a, timestamp_t t);
	MovingPathAnimator(void);
	~MovingPathAnimator(){}
};

#endif